func internal/fmtsort.compare
6 uses
internal/fmtsort (current package)
sort.go#L27: func (o *SortedMap) Less(i, j int) bool { return compare(o.Key[i], o.Key[j]) < 0 }
sort.go#L78: func compare(aVal, bVal reflect.Value) int {
sort.go#L157: if c := compare(aVal.Field(i), bVal.Field(i)); c != 0 {
sort.go#L164: if c := compare(aVal.Index(i), bVal.Index(i)); c != 0 {
sort.go#L173: c := compare(reflect.ValueOf(aVal.Elem().Type()), reflect.ValueOf(bVal.Elem().Type()))
sort.go#L177: return compare(aVal.Elem(), bVal.Elem())
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |